import json
from urllib.request import urlopen

url = 'https://jsonplaceholder.typicode.com/todos/'

response = urlopen(url)
contents = response.read()
text = contents.decode('utf8')
data = json.loads(text)

for item in data[0:6]:
    print(item['title'], '-', item['completed'])